package com.xhu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data //get、set、toString等方法
@AllArgsConstructor//全参构造函数
@NoArgsConstructor//无参构造函数
@TableName("game")//指定实体类表名
public class Game {
    @TableId(value = "game_id",type = IdType.AUTO)
    private Integer gameId;
    private String gameName;
    private String price;
    private String  introduction;
    private Date date;
    private String imgUrl;
}
